home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1996 April / MacFormat CD Edition MF36 (April 1996).iso / Floppy / MacFormat Floppy Archive / Floppy 35 / NoteBook Maker 1.3 / Notebook Maker 1.3 / Notebook Maker 1.3.rsrc / TEXT_261_The Notebook Text File.txt < prev    next >
Text File  |  1995-01-08  |  2KB  |  20 lines

  1. The Notebook TEXT file
  2.  
  3. Before you create your new Notebook you will need to create a text file which contains the information to be included in the Notebook. 
  4.  
  5. You‚Äôll note from this window that each topic has an associated label (in the left hand portion of the window) - in this case it is the string - ‚ÄòThe Notebook Text Window‚Äô. Thus you will need to include the label, as well as the text for each of the topics in your text file.
  6.  
  7. The information in this file must be in a specific format - that is, the label of each topic, followed by the text of each topic, and each of these blocks of text must be delimited by some string. An example of such a text file is presented below:
  8.  
  9.           First topic label<EoL>This is the text for the first topic <EoT>    
  10.        My second topic label<EoL>Here is where the text for the second 
  11.          topic is included<EoT>Third label<EoL>More text here <EoT> 
  12.        Third label<EoL>This is the text for the last topic.<EoT>
  13.  
  14.  
  15. You will notice that the string ‚Äò<EoL>‚Äô separates each label from the associated text, and that at the end of each block of topic text if the string ‚Äò<EoT>‚Äô.
  16.  
  17. Each label and block of topic text must be delimited in this way so that when the text file is imported into Notebook Maker, each label can be distinguished from each block of text. In the example just given, the ‚Äò<EoL>‚Äô string is called the ‚ÄòEnd of Label‚Äô delimiter, and the ‚Äò<EoT>‚Äô string is called the ‚ÄòEnd of Text‚Äô delimiter.
  18.  
  19.  
  20. An example text file is supplied with Notebook Maker. You can use this file to create your first Notebook, and to see how the topic labels and text should be delimited properly. Note that you don‚Äòt have to use <EoL> and <EoT> as the two delimiter strings. These are just the defaults‚Äîyou can use whatever you wish.